/* ========== CONTENU DROITE ========== */

.projet-content {
    margin-left: 40%;
    width: 60%;
    height: calc(100vh - 90px);
    overflow-y: auto; /* seul le côté droit scroll */
    padding: 40px;
    background-color: #ffffff;
}

.projet-content img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    border-radius: 12px;
}

.deux-images {
    display: flex;       /* active le mode flex */
    gap: 20px;           /* espace entre les images */
    margin-bottom: 40px; /* espace sous le bloc */
}

.deux-images img {
    width: 50%;          /* chaque image prend la moitié de la largeur */
    height: auto;
    border-radius: 12px; /* arrondir si tu veux */
}

/* ===================================== */
/* ========= TABLETTE ================== */
/* ===================================== */

@media screen and (max-width: 1024px) {

    .projet-content {
        margin-left: 0;
        width: 100%;
        height: auto;
        overflow: visible;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .projet-content section {
        width: 100%;
        max-width: 750px;
    }

    .projet-content img {
        width: 100%;
        margin-bottom: 30px;
    }

    .deux-images {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .deux-images img {
        width: 100%;
    }
}


/* ===================================== */
/* ========= MOBILE ==================== */
/* ===================================== */

@media screen and (max-width: 768px) {

    .projet-content {
        padding: 20px 15px;
    }

    .projet-content section {
        max-width: 100%;
    }

    .projet-content img {
        margin-bottom: 25px;
        border-radius: 10px;
    }
}